package com.example.tse.rbhttpservice.service.member.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
* 获取我的待支付订单列表
* @author wliu
* edit tse
*/
public class MemberOrderGetUnpaidListOrders extends RudderResponse{

private String orderId = "";


private String addTime = "";


private String total = "";


private String status = "";


private List<MemberOrderGetUnpaidListOrdersGoods> goods = new ArrayList<MemberOrderGetUnpaidListOrdersGoods>();


private String wareName = "";


private String subTax = "";


/**
* @return orderId
*/
public String getOrderId() {
return this.orderId;
}

/**
* @return orderId
*/
public void setOrderId(String orderId) {
this.orderId = orderId;
}
/**
methodName    OrderId
type          String
name          orderId
defaultType   ""
*/

/**
* @return addTime
*/
public String getAddTime() {
return this.addTime;
}

/**
* @return addTime
*/
public void setAddTime(String addTime) {
this.addTime = addTime;
}
/**
methodName    AddTime
type          String
name          addTime
defaultType   ""
*/

/**
* @return total
*/
public String getTotal() {
return this.total;
}

/**
* @return total
*/
public void setTotal(String total) {
this.total = total;
}
/**
methodName    Total
type          String
name          total
defaultType   ""
*/

/**
* @return status
*/
public String getStatus() {
return this.status;
}

/**
* @return status
*/
public void setStatus(String status) {
this.status = status;
}
/**
methodName    Status
type          String
name          status
defaultType   ""
*/

/**
* @return goods
*/
public List<MemberOrderGetUnpaidListOrdersGoods> getGoods() {
return this.goods;
}

/**
* @return goods
*/
public void setGoods(List<MemberOrderGetUnpaidListOrdersGoods> goods) {
this.goods = goods;
}
/**
methodName    Goods
type          List<MemberOrderGetUnpaidListOrdersGoods>
name          goods
defaultType   new ArrayList<MemberOrderGetUnpaidListOrdersGoods>()
*/

/**
* @return wareName
*/
public String getWareName() {
return this.wareName;
}

/**
* @return wareName
*/
public void setWareName(String wareName) {
this.wareName = wareName;
}
/**
methodName    WareName
type          String
name          wareName
defaultType   ""
*/

/**
* @return subTax
*/
public String getSubTax() {
return this.subTax;
}

/**
* @return subTax
*/
public void setSubTax(String subTax) {
this.subTax = subTax;
}
/**
methodName    SubTax
type          String
name          subTax
defaultType   ""
*/

/**


    private static void filterFor(MemberOrderGetUnpaidListOrdersGoods member) {
        if (member.getProductId() == null) {
            member.setProductId("");
        }
        if (member.getName() == null) {
            member.setName("");
        }
        if (member.getPrice() == null) {
            member.setPrice("");
        }
        if (member.getQuantity() == null) {
            member.setQuantity("");
        }
        if (member.getThumbnailPic() == null) {
            member.setThumbnailPic("");
        }
        if (member.getSubTotal() == null) {
            member.setSubTotal("");
        }
        if (member.getSpec() == null) {
            member.setSpec("");
        }
    }

    public static void filter(MemberOrderGetUnpaidListOrders member) {
        if (member.getOrderId() == null) {
            member.setOrderId("");
        }
        if (member.getAddTime() == null) {
            member.setAddTime("");
        }
        if (member.getTotal() == null) {
            member.setTotal("");
        }
        if (member.getStatus() == null) {
            member.setStatus("");
        }
        if (member.getGoods() == null) {
            member.setGoods(new ArrayList<MemberOrderGetUnpaidListOrdersGoods>());
        } else {
            for (MemberOrderGetUnpaidListOrdersGoods item : member.getGoods()) {
                filterFor(item);
            }
        }
        if (member.getWareName() == null) {
            member.setWareName("");
        }
        if (member.getSubTax() == null) {
            member.setSubTax("");
        }
    }

*/

}
